export default {
  num: [
    { required: true, message: "退货数量不能为空", trigger: "blur" },
    {
      pattern: /^(\d+\.?)?\d{0,2}$/,
      message: "请输入整数和两位小数",
      trigger: "blur"
    }
  ],
  price: [
    { required: true, message: "退货单价不能为空", trigger: "blur" },
    {
      pattern: /^(\d+\.?)?\d{0,2}$/,
      message: "请输入整数和两位小数",
      trigger: "blur"
    }
  ],
  money: [
    { required: true, message: "退货金额不能为空", trigger: "blur" },
    {
      pattern: /^(\d+\.?)?\d{0,2}$/,
      message: "请输入整数和两位小数",
      trigger: "blur"
    }
  ]
};
